From: Jim Blandy Date: Sun, 23 May 1993 19:23:38 +0000 (+0000) Subject: * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96081 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=52b1821d1a35ce68b2ead7570d221d67176fa2db;p=emacs.git * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph can be 24 bits, not just eight. --- diff --git a/src/lisp.h b/src/lisp.h index 06abaa128db..a41a73269e5 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -606,7 +606,7 @@ typedef unsigned char UCHAR; #define GLYPH_CHAR(glyph) ((glyph) & 0xff) /* Return a glyph's face ID. */ -#define GLYPH_FACE(glyph) (((glyph) >> 8) & 0xff) +#define GLYPH_FACE(glyph) (((glyph) >> 8) & ((1 << 24) - 1)) /* Data type checking */